package com.beecloud.microservice.user.domain.dto;

import java.io.Serializable;

public abstract class Page<T> implements Serializable {

    private int pageNo;

    private int pageSize;

    private int totalSize;

    private int totalPage;

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(int totalSize) {
        this.totalSize = totalSize;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public abstract T getRows();

    public abstract void setRows(T rows);
}